package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.ColumnType;
import com.ndp.fb.rdb.annotation.NoSave;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * Created by infi.he on 2015/11/5.
 */
@Setter
@Getter
@NoArgsConstructor
public class AdGroupExt extends AdGroup {
    /**
     * imageMd5
     */
    @Column("imageMd5")
    private String imageMd5;
    /**
     * image_hash
     */
    @Column("image_hash")
    private String imageHash;
    /**
     * image_url
     */
    @Column("image_url")
    private String image_url;

    /**
     * 与Mysql无对应关系
     */
    @NoSave
    private String imageInfo;

    /**
     * campaign_group_name
     */
    @Column("campaign_group_name")
    private String campaign_group_name;
    /**
     * campaign_group_status
     */
    @Column("campaign_group_status")
    private String campaign_group_status;
    /**
     * campaign_group_created_utc_time
     */
    @Column(value = "campaign_group_created_utc_time", type = ColumnType.Long)
    private Long campaign_group_created_utc_time;
    /**
     * campaign_group_created_time
     */
    @Column(value = "campaign_group_created_time", type = ColumnType.Date)
    private Date campaign_group_created_time;

    /**
     * adset_name
     */
    @Column("adset_name")
    private String adset_name;
    /**
     * adset_status
     */
    @Column("adset_status")
    private String adset_status;
    /**
     * adset_bid_info
     */
    @Column("adset_bid_info")
    private String adset_bid_info;
    /**
     * adset_bid_type
     */
    @Column("adset_bid_type")
    private String adset_bid_type;
    /**
     * adset_targeting
     */
    @Column("adset_targeting")
    private String adset_targeting;
    /**
     * adset_created_time
     */
    @Column(value = "adset_created_time", type = ColumnType.Date)
    private Date adset_created_time;
    /**
     * adset_created_utc_time
     */
    @Column(value = "adset_created_utc_time", type = ColumnType.Long)
    private Long adset_created_utc_time;

    /**
     * 与mysql无对应关系
     */
    private String plat_form;

}
